package org.demo.base.jdbc.util;

import java.sql.Connection;

public class ConnectionExtends {

    /**
     * 数据库连接
     */
    private Connection connection;

    /**
     * 是否释放闲置
     */
    private Boolean freeStatus;

    /**
     * 是否超时
     */
//    private Boolean timeOutStatus;

    public Connection getConnection() {
        return connection;
    }

    public void setConnection(Connection connection) {
        this.connection = connection;
    }

    public Boolean getFreeStatus() {
        return freeStatus;
    }

    public void setFreeStatus(Boolean freeStatus) {
        this.freeStatus = freeStatus;
    }

//    public Boolean getTimeOutStatus() {
//        return timeOutStatus;
//    }
//
//    public void setTimeOutStatus(Boolean timeOutStatus) {
//        this.timeOutStatus = timeOutStatus;
//    }
}
